package com.ruoyi.orders.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 订单管理对象 t_orders
 *
 * @author ruoyi
 * @date 2024-11-12
 */
public class TOrders extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单ID */
    private String ordersId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private String userId;

    /** 物流id */
    @Excel(name = "物流id")
    private Long logisticsId;

    /** 用户地址 */
    @Excel(name = "用户地址")
    private String userAddress;

    /** 订单总金额 */
    @Excel(name = "订单总金额")
    private BigDecimal totalAmount;

    /** 订单支付方式 */
    @Excel(name = "订单支付方式")
    private String paymentMethod;

    /** 订单状态 */
    @Excel(name = "订单状态")
    private String ordersState;

    /** 备注 */
    @Excel(name = "备注")
    private String notes;

    /**商品id*/
    private String goodsId;

    /**商品数量*/
    private String goodsNum;

    private String storeId;

    public String getStoreId() {
        return storeId;
    }

    public void setStoreId(String storeId) {
        this.storeId = storeId;
    }

    public String getGoodsNum() {
        return goodsNum;
    }

    public void setGoodsNum(String goodsNum) {
        this.goodsNum = goodsNum;
    }

    public String getOrdersId() {
        return ordersId;
    }

    public void setOrdersId(String ordersId) {
        this.ordersId = ordersId;
    }

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    public void setUserId(String userId)
    {
        this.userId = userId;
    }

    public String getUserId()
    {
        return userId;
    }
    public void setLogisticsId(Long logisticsId)
    {
        this.logisticsId = logisticsId;
    }

    public Long getLogisticsId()
    {
        return logisticsId;
    }
    public void setUserAddress(String userAddress)
    {
        this.userAddress = userAddress;
    }

    public String getUserAddress()
    {
        return userAddress;
    }
    public void setTotalAmount(BigDecimal totalAmount)
    {
        this.totalAmount = totalAmount;
    }

    public BigDecimal getTotalAmount()
    {
        return totalAmount;
    }
    public void setPaymentMethod(String paymentMethod)
    {
        this.paymentMethod = paymentMethod;
    }

    public String getPaymentMethod()
    {
        return paymentMethod;
    }
    public void setOrdersState(String ordersState)
    {
        this.ordersState = ordersState;
    }

    public String getOrdersState()
    {
        return ordersState;
    }
    public void setNotes(String notes)
    {
        this.notes = notes;
    }

    public String getNotes()
    {
        return notes;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ordersId", getOrdersId())
            .append("userId", getUserId())
            .append("logisticsId", getLogisticsId())
            .append("userAddress", getUserAddress())
            .append("totalAmount", getTotalAmount())
            .append("paymentMethod", getPaymentMethod())
            .append("ordersState", getOrdersState())
            .append("notes", getNotes())
            .toString();
    }
}
